package com.fl.niu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author admin
 */
@Data
@TableName("admin_login_log")
public class AdminLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户id
     */
    @TableField("admin_id")
    private Long adminId;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * ip
     */
    @TableField("ip")
    private String ip;
    /**
     * 地址
     */
    private String address;
    /**
     * 浏览器登录类型
     */
    @TableField("user_agent")
    @ApiModelProperty(value = "浏览器登录类型")
    private String userAgent;


}